{include file='public/header'}
<style type="text/css">
	.template {
		margin-bottom: 20px;
	}
	
	.template img {
		box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
		display: block;
	}
	
	.template_name {
		height: 50px;
		line-height: 50px;
		font-size: 14px;
		position: relative;
		width: 210px;
		box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
		padding-left: 15px;
	}
	
	.template_btn {
		display: block;
		width: 38px;
		height: 38px;
		line-height: 28px;
		position: absolute;
		right: 0px;
		bottom: 6px;
		background: url(static/user/img/btn.png) -13px -8px no-repeat;
		cursor: pointer;
	}
	
	.template_btn:hover {
		background: url(static/user/img/btn.png) -57px -8px no-repeat;
	}
</style>

<body>
	<!-- 顶部开始 -->
	{include file="public/top_bar"} {include file="public/left_menu"}
	<div class="page-content" style="overflow: scroll;">
		<div class="x-body">
			<div class="layui-row">
				{volist name="template" id="vo"}
				<div class="layui-col-md3">
					<div class="template">
						<img src="{$vo.zoom_img}" />
						<p class="template_name">
							{$vo.template_name}
							<span class="template_btn" onclick="x_admin_show('创建活动','{:url("user/Manage/activity_add", ["id"=>$vo.id])}', '100vw','100vh')"></span>
						</p>
					</div>
				</div>
				{/volist}
			</div>
		</div>
	</div>
	<div class="page-content-bg"></div>
	{include file="public/footer"} {include file="public/base_js"}
</body>

</html>